package com.beidouapp.manager;

import java.util.List;
import java.util.Map;

import com.beidouapp.domain.pojo.ChinaData;
import com.beidouapp.domain.pojo.Engineer;
import com.beidouapp.domain.pojo.EngineerPos;
import com.beidouapp.domain.pojo.StatisData;

public interface EngineerManager {

	public List<EngineerPos> getEngineerPosList();

	Map<String, Object> getDistributeTotal();

	public List<Engineer> findEngineersByMap(Map<String, Object> params,
			Integer offset, Integer limit);

	public Integer findEngineersCountByMap(Map<String, Object> params);
	
	void save(Engineer engineer);
	
	void update(Engineer engineer);
	
	 Engineer getEngineerById(Integer id);
	 
	 Map<String, Object> getEngineerDetailById(Integer id);
	Engineer getUserNameByEngineer(String userName);
	
	 List<StatisData> getStatisDataListByMap(Map<String, Object> params, Integer offset, Integer limit);
	 
	 public Integer findStatisDataCountByMap(Map<String, Object> params);
	 
	 List<StatisData> getStatisCityDataByMap(Map<String, Object> params, Integer offset, Integer limit);
	 
	 public Integer findStatisCityDataCountByMap(Map<String, Object> params);
	 
	 public List<ChinaData> getChinaAllDataList();
	 
	 List<StatisData> getStatisCityDataByMap(Map<String, Object> params);
	 
	 public List<ChinaData> getChinaProvinceDataList(Map<String, Object> params);
	 
	 List<StatisData> getChinaCityDataList(Map<String, Object> params);
	 
	 public Integer getEngineersCountByName(String name);
	 
	 
}
